Class: com.microstrategy.web.app.taglibs.ErrorValueTag
Usage:
This custom tag allows to display different information about the exception that was generated while executing the page. It is recommended to use it together with the {@link IfErrorValueTag} to verify whether there was an error on the page.<web:ifErrorValue> <web:then> <TABLE ID="errorTable" NAME="errorTable" CELLSPACING="0" CELLPADDING="0" BORDER="0" WIDTH="90%"> <TR> <TD ALIGN="LEFT"> <HR SIZE="1" /><SPAN CLASS="error-title><web:errorValue property="title"/></SPAN><BR /><BR /> <web:errorValue property="message"/><BR /> <HR SIZE="1" /><BR /> </TD> </TR> </TABLE> </web:then> </web:ifErrorValue>
Name | Required? | Description |
default | false | Indicates if a default message should be displayed, instead of the one that had been
specified for this error (if any). Usage: The value defined for this attribute might be one or more descriptors to display to the user. For example: <web:errorValue property="message" default="mstrWeb.838;mstrWeb.837"/> This will display as error message a concatenation of the strings coming from the descriptors 838 and 837. |
property | true | Indicates the property of the error to get displayed. Usage: Possible values for this attribute include: |